/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package orderProcessingProcess.server;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

import orderProcessingProcess.exceptions.faults.UnknownCustomerFault;
import orderProcessingProcess.model.Customer;

/**
 *
 * @author dreni
 */
@WebService(targetNamespace ="http://infosys.tuwien.ac.at/ait09/ass1/dto/bankingservice")
public interface BankingService {

    @WebMethod(operationName="chargeCreditCard")
    void chargeCreditCard(
            @WebParam(name="Customer")Customer customer,
            @WebParam(name="amount") Double amount)
			throws UnknownCustomerFault;

    @WebMethod(operationName="doBankTransfer")
    void doBankTransfer(
            @WebParam(name="Customer")Customer customer,
            @WebParam(name="amount") Double amount)
			throws UnknownCustomerFault;

}
